package com.wangsd.common.jwt;

import com.wangsd.member.entity.Member;
import com.wangsd.system.entity.SysUser;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

@Data
@Builder
public class LoginUser {

    @Tolerate
    public LoginUser() {}

    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    /**
     * 用户唯一标识
     */
    private String token;

    private SysUser sysUser;

    private Member member;

    private String sessionKey;

    private String miniOpenid;
}
